package com.shisan.tingshu.album.mapper;

import com.shisan.tingshu.model.album.BaseCategoryView;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface BaseCategoryViewMapper extends BaseMapper<BaseCategoryView> {

    /**
     * 根据专辑id查询专辑分类信息
     * @param albumId
     * @return
     */
    BaseCategoryView getAlbumCategory(@Param("albumId") Long albumId);
}
